package com.zsr.eduservice.service;

import com.zsr.eduservice.entity.EduCourse;
import com.zsr.eduservice.entity.EduTeacher;
import com.zsr.eduservice.entity.vo.SubjectNestedVo;

import java.util.List;

/**
 * 自定义首页service
 * @author zsr
 * @date 2021/6/18 20:41
 */
public interface IndexFrontService {
    /**
     * 查询前8条热门课程
     * @return
     */
    List<EduCourse> getHotCourseList();

    /**
     * 查询前4条名师
     * @return
     */
    List<EduTeacher> getFourTeacherList();

    /**
     * 查询前n条分类
     * @param count
     * @return
     */
    List<SubjectNestedVo> getSubjectNestedList(Long count);
}
